import request from '@/utils/request'

/**
 * 增
 * @param param
 */
export function add(param) {
  return request({
    url: '/api/bookmark/add',
    method: 'post',
    data: param
  })
}

/**
 * 删
 * @param param
 */
export function remove(param) {
  return request({
    url: '/api/bookmark/remove',
    method: 'post',
    data: param
  })
}

/**
 * 改
 * @param param
 */
export function update(param) {
  return request({
    url: '/api/bookmark/update',
    method: 'post',
    data: param
  })
}



/**
 * 查
 * @param param
 */
export function list(param) {
  return request({
    url: '/api/bookmark/list',
    method: 'post',
    data: param
  })
}
